package com.weetop.cfw.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class MyCoursesBean extends ErrorBean {


    /**
     * records : 9
     * data : [{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200427-102513-5138","status":0,"orderdate":"2020/4/27 10:25:13"},{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200427-101650-9470","status":0,"orderdate":"2020/4/27 10:16:50"},{"infoid":4,"title":"体育课程Two","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200326152407_7787.jpg","orderid":"200427-100757-4838","status":0,"orderdate":"2020/4/27 10:07:57"},{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200427-093240-4183","status":0,"orderdate":"2020/4/27 9:32:40"},{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200427-093029-4009","status":0,"orderdate":"2020/4/27 9:30:29"},{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200427-092730-7185","status":0,"orderdate":"2020/4/27 9:27:30"},{"infoid":4,"title":"体育课程Two","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200326152407_7787.jpg","orderid":"200426-170526-2194","status":0,"orderdate":"2020/4/26 17:05:26"},{"infoid":4,"title":"体育课程Two","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200326152407_7787.jpg","orderid":"200426-170010-4401","status":0,"orderdate":"2020/4/26 17:00:10"},{"infoid":1,"title":"体育课程One","author":"丁秋雷","playnum":"0","imgurl":"/Upload/image/202003/20200316113212_7241.jpg","orderid":"200426-165910-9703","status":0,"orderdate":"2020/4/26 16:59:10"}]
     */

    private int records;
    private List<DataBean> data;

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "MyCoursesBean{" +
                "records=" + records +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * infoid : 1
         * title : 体育课程One
         * author : 丁秋雷
         * playnum : 0
         * imgurl : /Upload/image/202003/20200316113212_7241.jpg
         * orderid : 200427-102513-5138
         * status : 0
         * orderdate : 2020/4/27 10:25:13
         */

        private int infoid;
        private String title;
        private String author;
        private String playnum;
        private String imgurl;
        private String orderid;
        @SerializedName("status")
        private int statusX;
        private String mprice;
        private String sprice;
        private String orderdate;

        public String getMprice() {
            return mprice;
        }

        public void setMprice(String mprice) {
            this.mprice = mprice;
        }

        public String getSprice() {
            return sprice;
        }

        public void setSprice(String sprice) {
            this.sprice = sprice;
        }

        public int getInfoid() {
            return infoid;
        }

        public void setInfoid(int infoid) {
            this.infoid = infoid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getPlaynum() {
            return playnum;
        }

        public void setPlaynum(String playnum) {
            this.playnum = playnum;
        }

        public String getImgurl() {
            return imgurl;
        }

        public void setImgurl(String imgurl) {
            this.imgurl = imgurl;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public int getStatusX() {
            return statusX;
        }

        public void setStatusX(int statusX) {
            this.statusX = statusX;
        }

        public String getOrderdate() {
            return orderdate;
        }

        public void setOrderdate(String orderdate) {
            this.orderdate = orderdate;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "infoid=" + infoid +
                    ", title='" + title + '\'' +
                    ", author='" + author + '\'' +
                    ", playnum='" + playnum + '\'' +
                    ", imgurl='" + imgurl + '\'' +
                    ", orderid='" + orderid + '\'' +
                    ", statusX=" + statusX +
                    ", orderdate='" + orderdate + '\'' +
                    '}';
        }
    }
}
